<!doctype html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<title>
			Document
		</title>
		<hdjs/>
	</head>
	<body>
		<div class="wrap">
			<div class="menu_list">
				<ul>
					<li>
						<a href="{|U:'index'}"  class="action">
							栏目列表
						</a>
					</li>
					<li>
						<a href="{|U:'add'}">
							添加栏目
						</a>
					</li>
				</ul>
			</div>
			<table class="table2">
				<thead>
				<tr>
					<td class="w80">CID</td>
					<td>名称</td>
					<td>类型</td>
					<td class="w100">操作</td>
				</tr>
				</thead>
				<list from='$data' name='c'>
					<tr>
						<td>{$c.cid}</td>
						<td>{$c._name}</td>
						<td><if value="{$c.cattype} eq 0">封面栏目<else>普通栏目</if></td>
						<td class="w200">
							<a href="{|U:'addChild',array('cid'=>$c['cid'])}">添加子栏目</a> |
							<a href="{|U:'edit',array('cid'=>$c['cid'],'gtid'=>$c['gtid'])}">编辑</a> |
							<a href="{|U:'del',array('cid'=>$c['cid'])}">删除</a>
						</td>
					</tr>
				</list>
			</table>
		</div>
	</body>
</html>





